package day06;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class P07FileInputOutput {
    public static void main(String[] args) throws IOException {
        Scanner cin = new Scanner(new File("A.txt"));
        while (cin.hasNext()) {
            int a = cin.nextInt();
            int b = cin.nextInt();
            System.out.println(a + b);
        }
        cin.close();
    }
}
